// Package encryption provides interfaces and implementations for JSON file encryption and decryption.
package encryption

import "io"

// JSONEncryption defines the interface for JSON file encryption and decryption operations.
type JSONEncryption interface {
	// Encrypt encrypts a JSON file using the provided password.
	// It reads from input, encrypts the data, and writes the result to output.
	Encrypt(input io.Reader, output io.Writer, password string) error
	
	// Decrypt decrypts an encrypted JSON file using the provided password.
	// It reads from input, decrypts the data, and writes the result to output.
	Decrypt(input io.Reader, output io.Writer, password string) error
}